package com.xiaojian.blog.service;

import com.xiaojian.blog.model.RelationshipPOKey;

import java.util.List;

public interface RelationshipService {

    /**
     * 按主键删除
     */
    void deleteById(Integer cid, Integer mid);

    /**
     * 按主键统计条数
     */
    Long countById(Integer cid, Integer mid);

    /**
     * 保存对象
     */
    void insertVo(RelationshipPOKey relationshipPOKey);

    /**
     * 根据id搜索
     */
    List<RelationshipPOKey> getRelationshipById(Integer cid, Integer mid);
}
